package cate.common.table.activity.happyflop.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass("基础配置")
public class HappyFlopBaseRow extends ERow {

    @NoteField("配置ID")
    public int configTid;

    @NoteField("掉落物品")
    public String dropItemStr;

    @NoteField("掉落间隔")
    public int dropInterval;

    @NoteField("基础消耗")
    public String openCostStr;

    @NoteField("最大场数")
    public int roundMax;

    @NoteField("翻牌奖励分组")
    public int rwdCfgGroup;

    @NoteField("技能分组")
    public int skillGroup;

    @NoteField("层数奖励分组")
    public int roundRwdGroup;

    @NoteField("奖励邮件ID")
    public int mailTid;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("配置ID", 0);
        this.configTid = xrw.getInteger("配置ID", 0);
        this.dropItemStr = xrw.getString("掉落物品");
        this.dropInterval = xrw.getInteger("掉落间隔",0);
        this.openCostStr = xrw.getString("基础消耗");
        this.roundMax = xrw.getInteger("最大场数",0);
        this.rwdCfgGroup = xrw.getInteger("翻牌奖励分组",0);
        this.skillGroup = xrw.getInteger("技能分组",0);
        this.roundRwdGroup = xrw.getInteger("层数奖励分组",0);
        this.mailTid = xrw.getInteger("奖励邮件ID",0);

    }




}
